package com.dingreading.cloud.soms.service;

import com.dingreading.cloud.soms.entity.ReaderContest;
import com.mybatisflex.core.service.IService;

/**
 *  服务层。
 *
 * @author Administrator
 * @since 2024-12-11
 */
public interface ReaderContestService extends IService<ReaderContest> {

    ReaderContest getByUid(String uid);

    boolean existsByStaffUidAndType(String staffUid, Integer type);

    ReaderContest getByStaffUidAndType(String staffUid, Integer type);

    // 是否有决赛的资格
    boolean haveFinal(String staffUid);
}
